export default {
  createURLSearchParams: (payload) => {
    const params = new URLSearchParams()
    for (let key in payload) {
      if (payload[key]) {
        params.append(key, payload[key])
      }
    }
    return params
  }
}
